package cn.school.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.school.entity.Student;

public interface StudentDao {
	public List<Student> findALL(long stuno);

	public int add(Student s);

	public int del(int stuno);

	public int update(Student s);

	public List<Student> paging(Map map);

	public int total();

	public List<Student> search(@Param("sname") String sname, @Param("qq") String qq,
								@Param("wechat") String wechat);

	public List<Student> search1(Map map);

	public List<Student> search2(Student student);

}